@extends('admin.layout')

@section('content')
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-8 col-md-offset-2">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">添加文章</h3>
                    </div>
                    <div class="panel-body" >
                        <form role="form" method="POST" action="/admin/post">
                            <div class="form-group">
                                <label for="exampleInputEmail1">标题</label>
                                <input type="text" class="form-control" name="title"  placeholder="输入文章标题">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputFile">内容</label>
                                <textarea class="form-control" rows="22" name="content"></textarea>
                                <p class="help-block">不支持格式</p>
                            </div>
                            <button type="submit" class="btn btn-default">确定</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
@stop